package blackstar.plugin.monitor.reporter;

import java.sql.Timestamp;

/**
 * @author raywu (ayufox@gmail.com)
 * 
 */
public class ReportData
{
	private String jvmid;
	private String id;
	private long data;
	private Timestamp timestamp;

	public ReportData(String jvmid, String id, long data, Timestamp timestamp)
	{
		super();
		this.jvmid = jvmid;
		this.id = id;
		this.data = data;
		this.timestamp = timestamp;
	}

	public String getJvmid()
	{
		return jvmid;
	}

	public String getId()
	{
		return id;
	}

	public long getData()
	{
		return data;
	}

	public Timestamp getTimestamp()
	{
		return timestamp;
	}

	public String toString()
	{
		return "ReportData[jvmid=" + this.jvmid + ",id=" + this.id + ",data="
				+ this.data + ",timestamp=" + this.timestamp + "]";
	}
}
